<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1">
<base href="{$site_url}/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>

<!--{css(global.css)}-->
<!--{css(shopc2.css)}-->
    <style type="text/css">
        .jclose
        {
            height: 100%;
            width: 100%;
            z-index: 5;
            background: #FFF;
            opacity: 0;
            filter: alpha(opacity=0);
        }
        .mask
        {
            height: 100%;
            width: 100%;
            display: none;
            position: absolute;
            z-index: 10;
            top: 0;
            left: 0;
        }
        div.zp_text_red_size
        {
            height: auto;
        }


input.formbutton{background:#f60;color:#FFF;cursor:pointer;letter-spacing:.1em;border-color:#f90 #f30 #f63 #f90;border-style:solid;border-width:2px;padding:3px 1em}
	.choose_pay_type{font-size:14px;font-weight:600;padding:5px 16px; text-align:left;}
		.order_check_form{border-top:0px solid #44ACAF;margin-top:12px;padding-top:20px}
			.orderT tr td{padding:10px 0; text-align:left;}				
    </style>

</head>
<body>

<!--{inc (user/header_group.view.html)}-->  

        

    <div class="m18_body">
        
        <div class="mb5">
            <img src="" alt=""
                class="vm">
        </div>
        
        <div id="shopc_msg">
            <ul>

                <li id="msg_margin">
                    <img src="{$bg_pic_url}image/text_i_shoppingcart.gif" width="83" height="28" /></li>
                <li class="msn_lineheight">
                    
                    <div id="FreeShipInfo" style="display: inline">

                    </div>
                </li>
            </ul>
        </div>

        <div class="list_big_body">
            <div id="shopc_list_title">
                <ul>
                    <li class="title_width1">商品名称</li>
                    <li class="title_width2">单价</li>
                    <li class="title_width2">数量</li>
                    <li class="title_width2">花费积分</li>

                    <li class="title_width2">小计</li>
                </ul>
            </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="vi_inf_color" id="TableOrderLine">
                <tr id='trLine1' >
                
                <td style='border-bottom: 1px dashed #999;' class='tc'>
                <a href='?app=prot&act=show&id={$groupdata.id}&gd={$groupdata.groupid}' target='_blank'>
                <img src='{$groupdata.img|picdir}' width='50' height='65'/></a>
                </td>
                
                <td class='vi_inf' style='border-bottom: 1px dashed #999;'>
                <a href='?app=prot&act=show&id={$groupdata.id}&gd={$groupdata.groupid}' target='_blank'>
                <span class='vi_inf_h1_color' >{$groupdata.name}</span>
                </a>
                <img class='ml5 vm' src='{$bg_pic_url}image/ico-spe.png'/><br/>
                <span></span><br />
                </td>
                
                <td width='120' align='center' style='border-bottom: 1px dashed #999;'>&yen; {$groupdata.nowprice}</td>
                <td width='120' align='center' style='border-bottom: 1px dashed #999;'>
                                <table width='100%' border='0' cellspacing='0' cellpadding='0'>

                                    <tr>
                                        <td height='40' align='center' valign='bottom'>
                                            <div>
                                             {$num}
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height='22' align='center' style='color: #F30' id='tdErrorInfo1'>
                                        
                                        </td>
                                    </tr>

                                </table>
                  </td>
                  <td width='120' align='center' style='border-bottom: 1px dashed #999;'>
                                <span id='spanGpAmount1'>
                                    --
                                </span>
                  </td>
                  <td width='120' align='center' style='border-bottom: 1px dashed #999;'>
                                <span style='color: #F00;' id='spanAmount1'>
                                   &yen; {$totalprice}</span>
                  </td>

              </tr>
            </table>
        </div>
        <div id="count_all">
            <ul>
<!--                <li>总获得积分:<span id="Point">980</span></li>
                <li class="count_solid">总花费积分:<span id="GpAmount">0</span></li>-->

                <li>总价:<span style="font-size: 16px" id="ItemAmount">&yen; {$totalprice}</span>元</li>
            </ul>
        </div>
        
      
        <table cellspacing="0" cellpadding="0" class="tiptable">
            <tr>
                <td style=" height:40px;">
<span>（如果在线支付有限额，可先分多次<a href="?app=user&act=addmoney" target=_blank style="color:#CC0000;">对账户充值</a>，然后刷新本页使用余额支付） 当前账户余额 <span style="color:#FF0000;">{$usermoney}元</span>，使用余额付款后，</span>
<span style="color:#CC0000;font-size:16px;font-weight:600;">还应支付金额：&yen; {$totalprice2}元 </span> 

                </td>


            </tr>
        </table>

<?php

if(!isset($orderdata))
{
$orderdata='';
}
if(!isset($orderdata.paytype))
{
$orderdata.paytype='';
}
?>

<form action="<!--{url ('?app=buy&act=dopay')}-->" method="post"  enctype="multipart/form-data">

<div class="order_check_form "> 
<p  class="choose_pay_type">请选择支付方式：</p> 
<table width="100%" border="0" class="orderT">  
<!--{foreach($pay as $_key => $_value )}-->
<!--{if ($_value['pay_id'] == 1)}-->
<tr>
<td width="4%"><input name="paytype" type="radio" value="1" <!--{if ($orderdata['paytype']==1 ||  $orderdata['paytype']=='')}-->checked="checked"<!--{/if}-->></td>
<td width="20%"><img src="{$site_url}/data/images/alipay.gif" /></td>
<td width="66%">推荐支付宝或者网银用户使用</td>
</tr>
<!--{/if}-->
<!--{if ($_value['pay_id'] == 2)}-->
<tr>
<td><input name="paytype" type="radio" value="2" <!--{if ($orderdata['paytype']==2)}-->checked="checked"<!--{/if}--> ></td>
<td><img src="{$site_url}/data/images/tenpay.gif" /></td>
<td>推荐财付通或腾讯QQ用户使用</td>
</tr>
<!--{/if}-->
<!--{if ($_value['pay_id'] == 3)}-->
<tr>
<td><input name="paytype" type="radio" value="3" <!--{if ($orderdata['paytype']==3)}-->checked="checked"<!--{/if}-->></td>
<td><img src="{$site_url}/data/images/chinabank.gif" /></td>
<td>支持主流银行的转账汇款，详见购买支付页面</td>
</tr>
<!--{/if}-->
 <!--{/foreach}-->
</table> 
<div class="clear"></div> 
<p class="check_act"> 
<input name="num" type="hidden" value="{$num}">
<input name="id" type="hidden" value="{$groupdata.id}">
<input type="hidden" value="{$groupdata.groupid}" name="gd" /> 
<input type="submit" class="formbutton" value="<!--{if ($totalprice2==0)}-->账户余额充足，直接付款开通<!--{else}-->确认生成订单，进入付款页<!--{/if}-->">
<a style="margin-left: 1em;" href="<!--{url ('?app=buy&act=index&id=$groupdata.id')}-->">返回修改订单</a> 
</p> 
</div> 
</form>  





    </div>


<!--{inc (user/footer_group.view.html)}-->
    


</body>
</html>